package com.itheima.reggie.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.reggie.dto.OrdersDto;
import com.itheima.reggie.pojo.Orders;

public interface OrdersService extends IService<Orders> {

    //扩展方法:用户下单
    void submitOrder(Orders orders);

    //移动端-订单列表
    Page<OrdersDto> userPage(Integer page, Integer pageSize);
}
